﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Spire.Presentation
{
    class Program
    {
        static void Main(string[] args)
        {
            string filepath = @"..\..\Documents\PresentationFromFilename.pptx";
            CreatePresentation(filepath);
        }
        public static void CreatePresentation(string filepath)
        {
            //Create PPT document
            Presentation presentation = new Presentation();
            //Save PPT document
            presentation.SaveToFile(filepath, FileFormat.Pptx2010);
        }
    }
}
